package demo3;

/**
 * @author ：陈奕安（3048279304@qq.com）
 * @date ：Created in 2025/5/6 23:54
 * @description：
 * @modified By：
 * @version:
 */
public class Test {
    public static void main(String[] args) {
        Computer computer = new Computer();
        computer.open();
        computer.useUseDevice(new Mouse());
        computer.useUseDevice(new KeyBoard());
        computer.close();
    }
}